import java.time.ZonedDateTime;

public class T1 {
    public static void main(String[] args) {
        ZonedDateTime now = ZonedDateTime.now(); //获取默认时区
        System.out.println(now); //2020-12-30T18:52:51.244+08:00[Asia/Shanghai]
    }
}
